package common.util;

public interface ILogger {

    ILogger DEFAULT = new ILogger() {
        @Override
        public void error(String message) {
            System.err.println(message);
        }

        @Override
        public void warn(String message) {
            System.out.println(message);
        }

        @Override
        public void info(String message) {
            System.out.println(message);
        }
    };

    static ILogger getInstance() {
        return DEFAULT;
    }

    void error(String message);

    void warn(String message);

    void info(String message);
}
